<div style="padding-top:10px; padding-left:20px;">
	<?php
		if (!$listid)
		{
			$to = 'index.php?cmd=login';
			header('Location: '. $to);
		}
	?>

	<form action="<?php print "../../receiverinsert.php?listid=$listid&phone=$fromphone" ?>" method="post">
		<fieldset>
			<legend>New contact</legend>
			<br>
			<input type="hidden" name="listid" value="<?php print $listid ?>" readonly="readonly"/><br>
			<label for="fullname">Navn:</label>
			<input type="text" name="fullname" /><br>
			<label for="shortname">Fornavn:</label>
			<input type="text" name="shortname" /><br>
			<label for="cellphone">Mobil:</label>
			<input type="text" name="cellphone" /><br>
			<label for="phone">Telefon:</label>
			<input type="text" name="phone" /><br>
			<label for="email">Email:</label>
			<input type="text" name="email" /><br>
			<label for="birthday">Fødselsdag:<br>(YYYY-MM-DD)</label>
			<input type="text" name="birthday" /><br>
			<br>
			<label for="ok">.</label>
			<input type="submit" name="ok" value="Ok"/>
		</fieldset>
	</form>
</div>